package com.cxs.service;

import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

/**
 * @Author: cxs
 */
public interface FileService {

    String uploadFile(String bucketName, MultipartFile file, String uniqueIdentifier);

    String existFile(String bucketName, String uniqueIdentifier);

    void removeFile(String bucketName, String filePath);

    void downloadFile(String bucketName, String filePath, HttpServletResponse response);

}
